package org.mall.convert.order;

import org.mall.modules.cash.entity.CashInfoLog;
import org.mall.modules.pojo.cash.CashInfoLogVO;
import org.mapstruct.Mapper;
import org.mapstruct.Mappings;
import org.mapstruct.factory.Mappers;

import java.util.List;

/***
 *@author yinxucun
 *@date 2019-12-31 14:04 
 */
@Mapper
public interface CashInfoLogConvert {
    CashInfoLogConvert INSTANCE = Mappers.getMapper(CashInfoLogConvert.class);
    @Mappings({})
    List<CashInfoLogVO> convert1(List<CashInfoLog> cashInfoLogs);
    @Mappings({})
    CashInfoLogVO convert2(CashInfoLog cashInfoLog);
}
